﻿<%@ Page Title="实时监控数据" Language="C#" MasterPageFile="~/Web/Main.Master" AutoEventWireup="true" CodeBehind="groupDetailInfo.aspx.cs" Inherits="BOMS.WebUI.Web.RealStatus.groupDetailInfo" %>
<%@ Import Namespace="BOMS.WebUI.Web" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<script type ="text/javascript">
$(document).ready(function () {
    setInterval("startRequest()",  <%=Common.RefreshIntev%>);
});
function startRequest() {
    $("#groupdetailinfo").load(location.href + " #groupdetailinfo>*", "" + Math.random() + "");
}
</script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div class="gv" id="groupdetailinfo">
    <div class="gvtop">
      <asp:Label ID="title" runat="server"/>
      <b><asp:Button ID="btn_back" runat="server" Text="返 回" class="btnbg" /></b>
    </div>
    <asp:GridView ID="GridView_detail" runat="server" AutoGenerateColumns="False" onrowdatabound="GridView_detail_RowDataBound"
     GridLines="None" CssClass="gvstyle" HorizontalAlign="Center" CellSpacing="1" 
        width="100%" AllowSorting="True" onsorting="GridView_detail_Sorting">
        <Columns>
            <asp:BoundField DataField="BatteryId" HeaderText="电池序号" 
                SortExpression="BatteryId" />
            <asp:BoundField DataField="Vval" HeaderText="电压(V)" />
            <asp:BoundField DataField="Rval" HeaderText="内阻(mΩ)" />
            <asp:BoundField DataField="Tval" HeaderText="温度(℃)" />
<%--            <asp:BoundField DataField="Capacity" HeaderText="剩余容量(Ah)" />   --%>       
            <asp:TemplateField HeaderText="状态">
                <ItemTemplate>
                    <asp:Literal runat="server" ID="ltrErrorDescr"></asp:Literal>
                </ItemTemplate>
            </asp:TemplateField>
        </Columns>
        <FooterStyle CssClass="FooterStyle" />
        <RowStyle CssClass="gvrowstyle" />
        <EmptyDataRowStyle CssClass="EmptyRowStyle" />
        <PagerStyle CssClass="PagerStyle" />
        <SelectedRowStyle CssClass="SelectedRowStyle" />
        <HeaderStyle CssClass="gvtitle" />
        <EditRowStyle CssClass="EditRowStyle" />
        <AlternatingRowStyle CssClass="gvalternatingrowstyle" />
    </asp:GridView>
</div>
</asp:Content>